A model of the account providers. More...
Import Statement: | import SSO.OnlineAccounts 0.1 |
The ProviderModel is a model representing the account providers installed on the system.
The model defines the following roles:
displayName
, the user-visible name of this providerproviderId
, the unique identifier of the account providericonName
, the name of the icon representing this providerisSingleAccount
, true if this provider supports creating one account at mosttranslations
, the localization domain for translating the provider's display nameapplicationId : string |
If set, the model will only show those providers which are relevant for the given applicationId. This means that a provider will only be shown if at least one of its services can be used by the application, as described in the application's manifest file.
count : int |
The number of items in the model.
variant get(int row, string roleName) |
Returns the data at row for the role roleName.